/**
 * Created by Administrator on 2018/7/4 0004.
 */
import Vue from 'vue'
import Router from 'vue-router'
// 使用路由
Vue.use(Router)
// 配置路由
const router = new Router({
  routes: [
    {
      path: '/test1',
      component: (resolve) => require(['./test1.vue'], resolve)
    },{
    path: '/test-form',
    component: (resolve) => require(['./test-form.vue'], resolve)
  },{
    path: '/test-table',
    component: (resolve) => require(['./test-table.vue'], resolve)
  },{
    path: '/test-tree',
    component: (resolve) => require(['./test-tree.vue'], resolve)
  }
  ]
})

export default router
